[Chapter 2] 2.9 Delivery Agent S= and R=
Author: Bryan Costales & Eric Allman
Date: 1999-02-04T00:04:24Z

#

| Chapter 2 The sendmail.cf File |

## 2.9 Delivery Agent S= and R=

The S= rule set follows rule set 1 and rewrites the sender address; the `R=` rule set follows rule set 2 and rewrites the recipient address (see Figure 2.1 They are declared inside a delivery agent declaration like this:

>     S=set
>     S=eset/hset
>     R=set
>     R=eset/hset

When there is just a single set specified, it is the rule set used to rewrite both header and envelope addresses. When a slash is present, the rule set to the left rewrites the envelope and the one to the right, the headers. If any is missing or zero, that rewriting is skipped.

Any S= rule set may be expressed as:

>     number
>     name
>     name=number

When identified by name, a number is internally assigned by sendmail. An optional = and number may follow a name to force specific association of number to name.

2.8 Rule Sets |  | 2.10 The check_ Rule Sets